package com.magina.project.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.SQLDelete;
import org.hibernate.annotations.Where;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.time.LocalDateTime;


@Getter
@Setter
@Entity(name = "jpa_demo_entity")
@Where(clause = "deleted = 0")
public class JpaDemoEntity extends BaseEntity {


    /**
     * 名称
     */
     @Column(name="demo_name")
    private String demoName;

    /**
     * 方法名称
     */
     @Column(name="demo_count")
    private Integer demoCount;


}
